package org.example;

/**
 * @author tght
 * 角色枚举
 */
public enum RoleEnum {


    CROUPIER(1,"庄家"),
    CIVILIAN(2,"平民");


    private Integer code;
    private String desc;

    RoleEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
